package com.personal.service;

import com.personal.domain.OccupancyApply;
import com.personal.util.partDisplay.OccupancyApplyPart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface OccupancyApplyService {


    List<OccupancyApply> selectAll();

    List<OccupancyApplyPart> selectPartAll();

    List<OccupancyApplyPart> selectPartByKey(String name,String type);

    boolean add(OccupancyApply occupancyApply);


    OccupancyApply getUpdateData(int id);

    boolean update(OccupancyApply occupancyApply);

    boolean delete(List<Integer> ids);



}
